 var Form = {
     "InitVal": 0,
     "name": "form",
     "Parameter": {
         "data": {
             "AppsInitFunctions": "addVersion,InitConfig,Restart",
             "sourceid": "1e4t60dp4"
         }
     },
     "position": "top",
     "List": {
         "id": {
             "name": "query",
             "value": "<%config.id%>",
             "visible": false
         },
         "qrcode": {
             "name": "avatar",
             "label": "@sys_please_scan_the_qr_code_with_wechat",
             "size": 160,
             "value": "<%domain%>/Service/qrcode/<%uuid%>/160/j.png"
         },
         "userkey": {
             "name": "input",
             "label": "@sys_serial_number",
             "default": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
             "value": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
         },
         "btn": {
             "Style": "input-form-btn",
             "type": "warning",
             "name": "button",
             "label": "@sys_ok",
             "value": ""
         }
     }
 }


 module.exports = {
     getMobile: function () {

         return {
             "name": "panel",
             "title": "@sys_input_serial_number",
             "InitVal": 0,
             "right": {
                 "visible": false
             },
             "left": {
                 "visible": false
             },
             "Form": Form
         }
     },
     getPc: function () {

         return {
             "InitVal": 0,
             "name": "dialog",
             "closeOnClickModal": false,
             "closeOnPressEscape": false,
             "showClose": false,
             "title": "@sys_input_serial_number",
             "width": "410px",
             "Mobile": {
                 "width": "100%",
                 "top": "55px"
             },
             "InfoFormVisible": true,
             "condition": Form
         }

     }
 }